package sg.edu.nus.iss.vmcs.maintenance;

import sg.edu.nus.iss.vmcs.system.*;

public class Password {

	public Password() {
	}

	public boolean validatePassword(String psi) {
		// the correct password is obtained from the property file.
		// The input password psi is compared to the correct one from the
		// property file.
		if (psi.compareTo(Environment.getPassword()) == 0)
			return true;
		else
			return false;
	}
}